package com.chinairi.mall.util;

import java.util.Random;

/**
 * @author web
 */
public class RandomUtil {

    public static String smsCode() {
        //创建一个6位的随机数字
        Random random = new Random();
        int randomInt = random.nextInt(99999);
        randomInt += 100000;
        return String.valueOf(randomInt);
    }

}
